]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Change unfullscreen mode to NORMAL
authorIvan Molodetskikh <yalterz@gmail.com>
Sun, 6 Mar 2022 12:03:29 +0000 (15:03 +0300)
committerMarge Bot <marge-bot@gnome.org>
Sun, 13 Mar 2022 00:01:17 +0000 (00:01 +0000)
The unfullscreen action doesn't make sense in other modes. In the
overview in particular it also prevents clicking on the top bar items on
a workspace with a fullscreen client.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2227>

js/ui/windowManager.js

index cdd32dcf5c8b0790eaaa5237cad41f7376948f12..bd47e6e5d562deee71d4fa3ce29493043e57cce9 100644 (file)
@@ -941,7 +941,7 @@ var WindowManager = class {
         appSwitchAction.connect('activated', this._switchApp.bind(this));
         global.stage.add_action_full('app-switch', Clutter.EventPhase.CAPTURE, appSwitchAction);
 
-        let mode = Shell.ActionMode.ALL & ~Shell.ActionMode.LOCK_SCREEN;
+        let mode = Shell.ActionMode.NORMAL;
         let topDragAction = new EdgeDragAction.EdgeDragAction(St.Side.TOP, mode);
         topDragAction.connect('activated',  () => {
             let currentWindow = global.display.focus_window;